package com.rh.bmw4s.adapter;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.bumptech.glide.Glide;
import com.rh.bmw4s.R;
import com.rh.bmw4s.bean.BrandBean;
import com.rh.bmw4s.bean.ThirdSearchBean;
import com.rh.bmw4s.utills.LogUtils;
import com.rh.bmw4s.utills.ToastUtils;

/**
 * Created by Administrator on 2017/9/26.
 */

public class FinalItemAdapter extends ListBaseAdapter<ThirdSearchBean.DatasBean.YearsBean.ListBean> {
    Context context;

    public FinalItemAdapter(Context context) {
        super(context);
        this.context = context;
    }

    @Override
    public int getLayoutId() {
        return R.layout.item_final_content;
    }

    @Override
    public void onBindItemHolder(SuperViewHolder holder, int position) {
        final ThirdSearchBean.DatasBean.YearsBean.ListBean bean = getDataList().get(position);
        LinearLayout linearLayout = holder.getView(R.id.ll_item_fianl);
        TextView tvName = holder.getView(R.id.final_name);
        tvName.setText(bean.getGoods_name());


    }
}
